package com.example.Holo.uiactivities.fragments.expensefragment;

import java.util.Observable;

public class MvcModel extends Observable {

    private double paymentQuantity;
    private String forWhat;
    private long paidFriendId;
    private String paidFriendName;

    MvcModel() {
    }

    public long getPaidFriendId() {
        return paidFriendId;
    }

    public void setPaidFriendId(long paidFriendId) {
        this.paidFriendId = paidFriendId;
    }

    public String getPaidFriendName() {
        return paidFriendName;
    }

    public void setPaidFriendName(String paidFriendName) {
        this.paidFriendName = paidFriendName;
    }

    public void setPaymentQuantity(double paymentQuantity) {
        this.paymentQuantity = paymentQuantity;
    }

    public void setForWhat(String forWhat) {
        this.forWhat = forWhat;
    }

    public void informObserver() {
        setChanged();
        notifyObservers();
    }

    public double getPaymentQuantity() {
        return paymentQuantity;
    }

    public String getForWhat() {
        return forWhat;
    }
}
